package com.jic.manager.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.manager.entity.SysRoleMenuVerify;
import com.jic.manager.request.SysRoleMenuVerifyRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 角色授权审核过渡
 * @author : 
 * @email : 
 * @since : 2020-11-08 03:19:42
 * @version : v1.0.0
 */
@Repository
@Mapper
public interface  SysRoleMenuVerifyMapper {

    long insert(SysRoleMenuVerify sysRoleMenuVerify);

    long delete(Long id);

    long update(SysRoleMenuVerify sysRoleMenuVerify);

    SysRoleMenuVerify queryByPrimaryKey(Long id);

    List<SysRoleMenuVerify> query(SysRoleMenuVerify sysRoleMenuVerify);

    List<SysRoleMenuVerify> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("request") SysRoleMenuVerifyRequest request);

    long queryPageCount( @Param("request") SysRoleMenuVerifyRequest request);

    SysRoleMenuVerify getSysRoleMenuVerifyByRoleId(Long roleId);
}